﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ReportClient
{
    public class Settings
    {
        public static string ReportServerUrl { get; set; }

        private static string crystalReportPagename = "ShowCrystalReport.aspx";

        static Settings()
        {
            ReportServerUrl = @"http://localhost:49880";   
        }

        public static string CrystalReportUrl {
            get { return ReportServerUrl + "/"+ crystalReportPagename ; }
        }

        public static void SetcrystalReportPageName(string pageName)
        {
            crystalReportPagename = pageName;
        }
    }
}
